package com.molichuxing.gateway.bff.payment.services;

import com.molichuxing.framework.exception.BizException;
import com.molichuxing.framework.service.RootService;
import com.molichuxing.gateway.bff.payment.entity.request.modify.AioPayResultModifyVo;
import com.molichuxing.gateway.bff.payment.entity.response.PaymentResultVo;
import com.molichuxing.services.property.PaymentCostTypeEnum;

public interface PaymentResultBffService extends RootService {

	/**
	 * 智能终端支付结果
	 * 
	 * @param modifyVo
	 * @return
	 * @throws Exception
	 * @throws BizException
	 */
	public PaymentResultVo modifyAioPayResult(AioPayResultModifyVo modifyVo) throws BizException, Exception;

	/**
	 * 查询支付结果
	 * 
	 * @param orderCode
	 *            订单号
	 * @param scheduleId
	 *            排期id
	 * @param costType
	 *            费用类型
	 * @return
	 * @throws BizException
	 * @throws Exception
	 */
	public PaymentResultVo getPaymentResult(Long orderCode, Integer scheduleId, PaymentCostTypeEnum costType)
			throws BizException, Exception;
}
